/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.basicdata.standard.entity;

import java.util.List;
import com.google.common.collect.Lists;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 主表Entity
 * @author 王洋
 * @version 2020-09-17
 */
public class BasicCheckMainForm extends DataEntity<BasicCheckMainForm> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 设备名称
	private String part;		// 部件
	private String unit;		// 零件名称
	private List<BasicdataCheck> basicdataCheckList = Lists.newArrayList();		// 子表列表
	private List<BasicDataGiveoil> basicDataGiveoilList = Lists.newArrayList();		// 子表列表
	
	public BasicCheckMainForm() {
		super();
	}

	public BasicCheckMainForm(String id){
		super(id);
	}

	@ExcelField(title="设备名称", align=2, sort=1)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="部件", align=2, sort=2)
	public String getPart() {
		return part;
	}

	public void setPart(String part) {
		this.part = part;
	}
	
	@ExcelField(title="零件名称", align=2, sort=3)
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	public List<BasicdataCheck> getBasicdataCheckList() {
		return basicdataCheckList;
	}

	public void setBasicdataCheckList(List<BasicdataCheck> basicdataCheckList) {
		this.basicdataCheckList = basicdataCheckList;
	}
	public List<BasicDataGiveoil> getBasicDataGiveoilList() {
		return basicDataGiveoilList;
	}

	public void setBasicDataGiveoilList(List<BasicDataGiveoil> basicDataGiveoilList) {
		this.basicDataGiveoilList = basicDataGiveoilList;
	}
}